﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using UFPC.Models;

namespace UFPC.Models
{
    public class CustomerViewModel
    {
        public CustomerProductPrice CustomerPrice { get; set; }
        public SelectList ProductList { get; set; }

        public CustomerViewModel()
        { 
            
        }
        
        public CustomerViewModel(CustomerProductPrice customerProductPrice, IEnumerable<Product> productList)
        {
            CustomerPrice = customerProductPrice;
            ProductList = new SelectList(productList, "ProductId", "Name");
        }
    }
}